package com.kgc.sportscircle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：实体类
* @author 杨海文
* @date 2019/07/22
*/
public class Mallproduct implements Serializable {

   /**主键*/
    private Integer id;
   /**名称*/
    private String name;
   /**价格*/
    private float price;
   /**库存*/
    private Integer stock;
   /**分类1*/
    private Integer categoryLevel1Id;
   /**分类2*/
    private Integer categoryLevel2Id;
   /**分类3*/
    private Integer categoryLevel3Id;
   /**是否删除(1：删除 0：未删除)*/
    private Integer isDelete;
   /**品牌表主键*/
    private Integer brandId;
   /**商品尺码*/
    private Integer size;
   /**颜色*/
    private String color;
   /**未定义1*/
    private Integer extension1;
   /**未定义2*/
    private String extension2;
   /**未定义3*/
    private String extension3;

    private Date rackingTime;
    //商品描述
    private String describe;

    private String attributes;

    private Mallproductdetail mallproductdetail;


    public Mallproduct(){}
    
    public Mallproduct(Integer id,String name,Float price,Integer stock,Integer categoryLevel1Id,Integer categoryLevel2Id,Integer categoryLevel3Id,Integer isDelete,Integer brandId,Integer size,String color,Integer extension1,String extension2,String extension3){
        this.id = id;
        this.name = name;
        this.price = price;
        this.stock = stock;
        this.categoryLevel1Id = categoryLevel1Id;
        this.categoryLevel2Id = categoryLevel2Id;
        this.categoryLevel3Id = categoryLevel3Id;
        this.isDelete = isDelete;
        this.brandId = brandId;
        this.size = size;
        this.color = color;
        this.extension1 = extension1;
        this.extension2 = extension2;
        this.extension3 = extension3;
    }

    public String getAttributes() {
        return attributes;
    }

    public void setAttributes(String attributes) {
        this.attributes = attributes;
    }

    public Mallproductdetail getMallproductdetail() {
        return mallproductdetail;
    }

    public void setMallproductdetail(Mallproductdetail mallproductdetail) {
        this.mallproductdetail = mallproductdetail;
    }

    public Date getRackingTime() {
        return rackingTime;
    }

    public void setRackingTime(Date rackingTime) {
        this.rackingTime = rackingTime;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    /**获取主键属性的值*/
    public Integer getId() {
        return this.id;
    }
   /**设置主键属性的值*/
    public void setId(Integer id) {
        this.id = id;
    }
   /**获取名称属性的值*/
    public String getName() {
        return this.name;
    }
   /**设置名称属性的值*/
    public void setName(String name) {
        this.name = name;
    }
   /**获取价格属性的值*/
    public float getPrice() {
        return this.price;
    }
   /**设置价格属性的值*/
    public void setPrice(float price) {
        this.price = price;
    }
   /**获取库存属性的值*/
    public Integer getStock() {
        return this.stock;
    }
   /**设置库存属性的值*/
    public void setStock(Integer stock) {
        this.stock = stock;
    }
   /**获取分类1属性的值*/
    public Integer getCategoryLevel1Id() {
        return this.categoryLevel1Id;
    }
   /**设置分类1属性的值*/
    public void setCategoryLevel1Id(Integer categoryLevel1Id) {
        this.categoryLevel1Id = categoryLevel1Id;
    }
   /**获取分类2属性的值*/
    public Integer getCategoryLevel2Id() {
        return this.categoryLevel2Id;
    }
   /**设置分类2属性的值*/
    public void setCategoryLevel2Id(Integer categoryLevel2Id) {
        this.categoryLevel2Id = categoryLevel2Id;
    }
   /**获取分类3属性的值*/
    public Integer getCategoryLevel3Id() {
        return this.categoryLevel3Id;
    }
   /**设置分类3属性的值*/
    public void setCategoryLevel3Id(Integer categoryLevel3Id) {
        this.categoryLevel3Id = categoryLevel3Id;
    }
   /**获取是否删除(1：删除 0：未删除)属性的值*/
    public Integer getIsDelete() {
        return this.isDelete;
    }
   /**设置是否删除(1：删除 0：未删除)属性的值*/
    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
   /**获取品牌表主键属性的值*/
    public Integer getBrandId() {
        return this.brandId;
    }
   /**设置品牌表主键属性的值*/
    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }
   /**获取商品尺码属性的值*/
    public Integer getSize() {
        return this.size;
    }
   /**设置商品尺码属性的值*/
    public void setSize(Integer size) {
        this.size = size;
    }
   /**获取颜色属性的值*/
    public String getColor() {
        return this.color;
    }
   /**设置颜色属性的值*/
    public void setColor(String color) {
        this.color = color;
    }
   /**获取未定义1属性的值*/
    public Integer getExtension1() {
        return this.extension1;
    }
   /**设置未定义1属性的值*/
    public void setExtension1(Integer extension1) {
        this.extension1 = extension1;
    }
   /**获取未定义2属性的值*/
    public String getExtension2() {
        return this.extension2;
    }
   /**设置未定义2属性的值*/
    public void setExtension2(String extension2) {
        this.extension2 = extension2;
    }
   /**获取未定义3属性的值*/
    public String getExtension3() {
        return this.extension3;
    }
   /**设置未定义3属性的值*/
    public void setExtension3(String extension3) {
        this.extension3 = extension3;
    }
}
